home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960715-19961006 / 000443_news@columbia.edu _Thu Oct 3 23:35:55 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: news@columbia.edu
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id XAA10360 for <kermit.misc@watsun.cc.columbia.edu>; Thu, 3 Oct 1996 23:35:54 -0400 (EDT)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.7.5/8.7.3) id XAA10948 for kermit.misc@watsun; Thu, 3 Oct 1996 23:35:53 -0400 (EDT)
  4. Path: news.columbia.edu!sol.ctr.columbia.edu!news.msfc.nasa.gov!news.sgi.com!news.mathworks.com!howland.erols.net!cs.utexas.edu!news.cs.utah.edu!cc.usu.edu!jrd
  5. From: jrd@cc.usu.edu (Joe Doupnik)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: 2nd post: Chars lost by DOS Ker under OS/2 during macros
  8. Message-ID: <1996Oct3.204143.86095@cc.usu.edu>
  9. Date: 3 Oct 96 20:41:42 MDT
  10. References: <Pine.SUN.3.91.961001161758.9880A-100000@nic.cerf.net>
  11. Organization: Utah State University
  12. Lines: 53
  13.  
  14. In article <Pine.SUN.3.91.961001161758.9880A-100000@nic.cerf.net>, "Space Computer Corp." <spacecc@cerf.net> writes:
  15. > No response to the first post of this, but I'm still looking for 
  16. > suggestions for a solution.  Can anyone relate to this? --
  17. > I am running DOS Kermit 3.14, Patch 9, under OS/2 Warp with a FOSSIL
  18. > connection using Ray Gwinn's SIO programs.  This works fine for
  19. > "normal" usage, but while Kermit is executing the "Product" macro it
  20. > appears that the input buffer overflows, and characters are lost.
  21. > (This procedure worked perfectly when DOS Kermit was run under actual
  22. > DOS, rather than a DOS window under OS/2.)  More specifically, the
  23. > host is a VAX/VMS system, and both the host and Kermit are set for
  24. > xon/xoff flow control.  The host sends the escape sequence to cause
  25. > Kermit to execute the "Product" macro, which in this case is just "log
  26. > session file.dat", and follows this immediately with a data stream.
  27. > The beginning of the data stream is captured in file.dat, then there
  28. > is a big gap, then the rest of the data stream is captured.  A similar
  29. > thing happens when the second "Product" macro is executed.  In this
  30. > case, the host sends another escape sequence to cause Kermit to
  31. > execute the second "Product" macro, which is just "close session; run
  32. > myprogram.exe", followed by more data for the Kermit screen.  The
  33. > logging is correctly ended, myprogram.exe is correctly executed, and
  34. > the first of the data for the Kermit screen is correctly buffered (it
  35. > is received while myprogram.exe is running).  When myprogram.exe ends
  36. > and control is returned to Kermit, Kermit shows the screen data it
  37. > correctly buffered, but everything after that (about half a screen
  38. > full) sent while myprogram.exe was executing is lost.
  39. > One more observation which may be relevant:  When a long stream of
  40. > data is being sent to Kermit from the host, I can hit ctrl-S on the
  41. > keyboard to suspend the sending of data, but it keeps coming for
  42. > several seconds, which seems like an inordinately long time, and makes
  43. > me suspect that Kermit's xoff signals are not being sent to the host
  44. > quickly enough to prevent buffer overflow.  When I type ctrl-Q to
  45. > resume sending, the response is pretty quick, but not really
  46. > instantaneous (to the eye).
  47.  
  48.     No, the XOFF goes out instantly, but there is a huge amount of
  49. data in transmission buffers etc. The proper way to stop on a dime locally
  50. is to use Digital's HoldScreen button, keyboard verb \Kholdscrn.
  51.  
  52. > Has anyone else encountered similar problems, and is there a setting
  53. > of Kermit's parameters which will prevent this?
  54.  
  55.     The overflow isn't Kermit's fault, as you amply demonstrated with
  56. the DOS test. I think the fundamental problem is you are using XON/XOFF
  57. flow control, and Kermit is provding that support on the local end, and
  58. there is that large amount of buffering in transit, cited above. Better
  59. to let modems use hardware flow control, RTS/CTS, which is a local-only
  60. effect and then the consequences are propagated upstream by the other
  61. modem, etc.
  62.     Joe D.
  63. > Bill Kendall